#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
void find_min(int n) {
    /********** Begin *********/
    int a[100];
    for (int i = 0; i < n; i++) {
        scanf("%d", &a[i]);
    }
    int min = a[0];
    for (int i = 0; i < n; i++) {
        if (min > a[i]) {
            min = a[i];
        }
    }
    printf("min = %d", min);
    /********** End **********/
}
int main(int argc, char* argv[]) {
    int n;
    scanf("%d", &n);
    find_min(n);
    return 0;
}